package com.nw.dsl4j.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


/**
 * For collection or map fields, use this annotation to require
 * a seperator between elements of this collection.
 * @author elik
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface TokenSeperatedCollection {
	/**
	 * the token to use as seperator.
	 * @return
	 */
	public Class<?> token();
}
